﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net;
using System.Security.Policy;
using System.Threading;
using System.IO;

namespace Issue
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        int x = 0;
        private void button1_Click(object sender, EventArgs e)
        {
            for (x=0 ; x < 5; x++)
            {
                Work w = new Work();
                w.s = x;
                Thread myThread = new Thread(w.GetNum);
                myThread.IsBackground = true;
                myThread.Start();
            }
        }

        
    }
}
